<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />

<div class="easyui-layout" fit="true"> 
	<div data-options="region:'center',border:false">
		<div class="pd10">
			<div class="tableform">
				<form id="propertyForm" method="post">
					<input type="hidden" name="industryId" id="industryId" value="${industryId}"/>
					<table cellspacing="0" cellpadding="0">
						<tr>
							<th width="100px;">
								<font color="red">*</font>所属行业：
							</th>
							<td>
								<input type="text" class="easyui-validatebox" style="width: 250px; height: 25px;" value="${industryName}" disabled="disabled"/>
							</td>
						</tr>
						<tr>
							<th width="100px;">
								<font color="red">*</font>属性名称：
							</th>
							<td>
								<input type="text" class="easyui-validatebox" style="width: 250px; height: 25px;" name="resourcePropertyName" id="resourcePropertyName" data-options="required:true"/>
							</td>
						</tr>
						<tr>
							<th width="100px;">
								<font color="red">*</font>属性代码：
							</th>
							<td>
								<input type="text" class="easyui-validatebox" style="width: 250px; height: 25px;" name="resourcePropertyEnname" id="resourcePropertyEnname" data-options="required:true"/>
							</td>
						</tr>
						<tr>
							<th width="100px;">
								<font color="red">*</font>是否必填：
							</th>
							<td>
								<select id="resourcePropertyFlag" name="resourcePropertyFlag" style="width: 250px; height: 25px;">
									<option value="">请选择...</option>
									<option value="0">必填</option>
									<option value="1">选填</option>
								</select>
							</td>
						</tr>
						<tr>
							<th width="100px;">
								<font color="red">*</font>是否添加全部：
							</th>
							<td>
								<select id="addAllFlag" name="addAllFlag" style="width: 250px; height: 25px;">
									<option value="0">是</option>
									<option value="1">否</option>
								</select>
							</td>
						</tr>
						<tr>
							<th width="100px;">
								<font color="red">*温馨提示：</font>
							</th>
							<td>
								<font color="red">如果添加全部，则将为该行业所属频道下的所有<br/>行业添加此属性！</font>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onclick="javascript:AddProperty.savePropertyInfo();" class="easyui-linkbutton" plain="true" iconCls="add">保存</a>
                        <a href="javascript:void(0)" onclick="javascript:Ict.closeWin()" class="easyui-linkbutton" plain="true" iconCls="remove">关闭</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
</div>

<!-- ==================页面操作JS================ -->
<script type="text/javascript" src="/resources/js/pc/property/add.js"></script>